package org.jeecg.common.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.apache.commons.collections.map.HashedMap;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @Description: 批量处理流程返回结果
 * @Author: jeecg-boot
 * @Date:   2021-10-22
 * @Version: V1.0
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="批量处理流程返回结果", description="批量处理流程返回结果")
public class ScmResInfoVo implements Serializable {
    private static final long serialVersionUID = 1L;

	/**成功*/
    @ApiModelProperty(value = "成功的key")
    private List<String> success;

    @ApiModelProperty(value = "失败的key")
    private List<String> fail;

    @ApiModelProperty(value = "失败原因")
    private Map<String,String> message;

    public ScmResInfoVo(){
        success = new ArrayList<>();
        fail = new ArrayList<>();
        message = new HashedMap();
    }

}
